import React, { Component } from 'react'
import { BrowserRouter, Route, Switch } from 'react-router-dom'
import Layout from '@/layouts/common'
export default class Router extends Component{
  render() {
    return (
      <BrowserRouter>
        <Switch>
          <Route path="/" render={() => <Layout />}></Route>
        </Switch>
      </BrowserRouter>
    )
  }
}